package com.example.accessibilityhelper.producer

import com.example.accessibilityhelper.Task
import com.example.accessibilityhelper.group.*

class GroupTaskProducer:TaskProducer {

    override fun produce(): Task {
        val groupTask = GroupSendTask()
        with(groupTask) {
            addStep(Step0SwitchToWorkTab())
            addStep(Step1GotoCustomerServicePage())
            addStep(Step2GotoMessageSendingPage())
            addStep(Step3GotoContactSelectPage())
            addStep(Step4SelectContact(emptyList()))
            addStep(Step5FillMessageAndClickSend())
            addStep(Step6ConfirmSend())
        }
        return groupTask
    }
}